package com.qyzmt.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LoginMapper {

    @Select("SELECT count(*) FROM users WHERE username = #{username} and password = #{password}")
    int login(String username, String password);
}
